<template>
	<view>
		<!-- 设置列表 -->
		<view class="">
			<block v-for="(item,index) in setlist" :key="index">
			<home-list :item="item" :index="index"></home-list>
			</block>
		</view>
	</view>
</template>

<script>
	import homeList from '../../components/home/home-list.vue'

	export default {
		components:{
			homeList
		},
		data() {
			return {
				setlist:[
					{
						icon:'',
						color:'#5ABCFF',
						title:'我的账号',
						navtype:'navigateTo',
						url:'',
						value:'123444'
					},
					{
						icon:'',
						color:'#FF7B3F',
						title:'邮箱',
						navtype:'navigateTo',
						url:'set-email',
						value:'99029313@163.com'
					},
					{
						icon:'',
						color:'#5BBCFF',
						title:'修改密码',
						navtype:'navigateTo',
						url:'set-password'
					},
					{
						icon:'',
						color:'#EB3941',
						title:'小纸条',
						navtype:'',
						url:''
					},
					{
						icon:'',
						color:'#EB3941',
						title:'找回密码',
						navtype:'',
						url:''
					},
					{
						icon:'',
						color:'#EB3941',
						title:'更多',
						navtype:'',
						url:''
					},
					{
						icon:'',
						color:'#EB3941',
						title:'注销账号',
						navtype:'',
						url:''
					}
					
				],
			}
		},
		methods: {
			go(){
				uni.navigateTo({
					url:'set-email'
				})
			}
		}
	}
</script>

<style>

</style>
